package com.wushi.lenovo.asia5b.app_model.profile;

import com.mvp.base.model.BaseModel;
import com.wushi.lenovo.asia5b.app_utils.eye.PopupItemTextInterface;

/**
 * Created by zhangyuncai on 2018/11/19.
 */
public class CountryModel extends BaseModel implements PopupItemTextInterface {

    /**
     * id : 101
     * name : China
     * calling_code : 86
     * flag_img : https://asia-allnet.com:8000/images/cflags/cn.png
     */

    private int id;//
    private String name;//国家名称
    private String calling_code;//区号
    private String flag_img;//国旗

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCalling_code() {
        return calling_code;
    }


    public String getFlag_img() {
        return flag_img;
    }

    @Override
    public String getText() {
        return getName();
    }
}
